package com.bit.book.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

@NoArgsConstructor
@AllArgsConstructor
@Data
public class PageResult<T> {
    /**
     * 记录总数
     */
    private Integer count;
    /**
     * 记录详细
     */
    private List<T> records;

    private PageRequest pageRequest;
}
